import {useRoutes} from 'react-router-dom'
import element from './element'

function RouterDOM(){
     let routerView = useRoutes(element)
     console.log(routerView)
    return (
         <div>
            {routerView}
         </div>
    )
}


export default RouterDOM;